package com.crk.service.impl;

import com.crk.entity.Hospitals;
import com.crk.mapper.HospitalsMapper;
import com.crk.service.IHospitalsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author com.crk
 * @since 2021-03-30
 */
@Service
public class HospitalsServiceImpl extends ServiceImpl<HospitalsMapper, Hospitals> implements IHospitalsService {

	@Override
	public List<Hospitals> selectLowHos(Integer ownlevel) {
		return baseMapper.selectLowHos(ownlevel);
	}

	@Override
	public List<Hospitals> selectSenHos(Integer ownlevel) {
		return baseMapper.selectSenHos(ownlevel);
	}

}
